/*
 * @Author: modefy
 * @Date: 2023-05-06 16:50:13
 * @LastEditors: modefy
 * @LastEditTime: 2023-05-12 09:07:42
 * @Description: Description
 */
export default {
    getTotalList: () => {
        return {
            code: 200,
            msg: '请求成功！',
            data: {
                visit: 105,
                collection: 4,
                books: 121,
                essay: 12
            }
        }
    },
    getLineChartData: () => {
        return {
            code: 200,
            msg: '请求成功！',
            data: [
                {
                    label: '文学类',
                    value: 2
                },
                {
                    label: '历史文化',
                    value: 8
                },
                {
                    label: "经济学",
                    value: 42
                },
                {
                    label: "计算机科学",
                    value: 8
                },
                {
                    label: "书刊报纸",
                    value: 4
                }
            ]
        }
    },
    getBarChartData: () => {
        return {
            code: 200,
            msg: '请求成功！',
            data: [
                {
                    label: 'python',
                    value: 14.83
                },
                {
                    label: 'C',
                    value: 14.73
                },
                {
                    label: 'Java',
                    value: 13.56
                },
                {
                    label: 'C++',
                    value: 13.29
                },
                {
                    label: 'C#',
                    value: 7.17
                },
                {
                    label: 'JavaScript',
                    value: 4.75
                }
            ]
        }
    },
    getPieChartData: () => {
        return {
            code: 200,
            msg: '请求成功！',
            data: [
                {
                    name: "夏装",
                    value: 20
                },
                {
                    name: '春秋季',
                    value: 12
                },
                {
                    name: "春秋装",
                    value: 12
                },
                {
                    name: "鞋子",
                    value: 11
                },
                {
                    name: "包",
                    vlaue: 2
                }
            ]
        }
    },
    getRadarChartData: () => {
        return {
            code: 200,
            msg: '请求成功！',
            data: [
                {
                    name: "趵突泉",
                    value: 10
                },
                {
                    name: "黑虎泉",
                    value: 14
                },
                {
                    name: "大明湖",
                    value: 18
                },
                {
                    name: "千佛山",
                    value: 33
                },
                {
                    name: "泉城广场",
                    value: 15
                },
                {
                    name: "芙蓉街",
                    value: 22
                }
            ]
        }
    }
}